home *** CD-ROM | disk | FTP | other *** search
- .TH SREPARAM
- 6 "IRIT Version 6.0"
- .SH NAME
- SREPARAM
-
-
-
- SurfaceType SREPARAM( SurfaceType Srf, ConstantType Direction,
- NumericType MinParam, NumericType MaxParam )
-
- Reparametrize Srf over a new domain from MinParam to MaxParam,
- in the prescribed Direction. This operation does not affect the geometry
- of the surface and only affine transforms its knot vectors. A Bezier surface
- will automatically be promoted into a Bspline surface by this function.
-
- Example:
-
- srf = sbspline( 2, 4,
- list( list( ctlpt( E3, 0.0, 0.0, 1.0 ),
- ctlpt( E2, 0.0, 1.0 ),
- ctlpt( E3, 0.0, 2.0, 1.0 ) ),
- list( ctlpt( E2, 1.0, 0.0 ),
- ctlpt( E3, 1.0, 1.0, 2.0 ),
- ctlpt( E2, 1.0, 2.0 ) ),
- list( ctlpt( E3, 2.0, 0.0, 2.0 ),
- ctlpt( E2, 2.0, 1.0 ),
- ctlpt( E3, 2.0, 2.0, 2.0 ) ),
- list( ctlpt( E2, 3.0, 0.0 ),
- ctlpt( E3, 3.0, 1.0, 2.0 ),
- ctlpt( E2, 3.0, 2.0 ) ),
- list( ctlpt( E3, 4.0, 0.0, 1.0 ),
- ctlpt( E2, 4.0, 1.0 ),
- ctlpt( E3, 4.0, 2.0, 1.0 ) ) ),
- list( list( KV_OPEN ),
- list( KV_OPEN ) ) );
-
- srf = sreparam( sreparam( srf, ROW, 0, 1 ), COL, 0, 1 );
-
- Ensures that the Bspline surface is defined over the unit size parametric
- domain.
-